﻿<%@ Page Title="" Language="C#" MasterPageFile="~/TimKenSite.Master" AutoEventWireup="true"
    CodeBehind="News.aspx.cs" Inherits="TimKen.Web.News" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="Common/Style/common.css" rel="stylesheet" type="text/css" /> 
    <link href="Common/Style/PagerStyle.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        $(function () {
            $(".nav_li").hover(function () {//鼠标放上去时候的效果
                $(this).children("a").addClass("navon"); //鼠标放上去的加上高亮
                $(this).children("div").show(); //鼠标放上去的二级栏目出来
                $(this).siblings().children("a").removeClass("navon"); //其他的高亮取消
                $(".common_search_tk").css("position", "static");
                $(".common_search_tkicon").hide();
            }, function () {//鼠标移开时候的效果
                $(this).children("a").removeClass("navon"); //鼠标移开去掉高亮
                $(this).children("div").hide(); //鼠标移开隐藏二级栏目
                $(".common_search_tk").css("position", "relative");
                $(".common_search_tkicon").show();
                $(".nav_li:eq(1)").children("a").addClass("navon"); //回到当前栏目高亮
            });
        });
        $(document).ready(function () {
            $(".nav_li:eq(1)").children("a").addClass("navon").parent().siblings().children("a").removeClass();
            $(".left_nav ul li:eq(1)").children("a").addClass("left_navon"); //左侧导航，当前栏目高亮	
        });
        window.onload = function () { for (var ii = 0; ii < document.links.length; ii++) document.links[ii].onfocus = function () { this.blur() } }	
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Title" runat="server">
    <div class="left_nav">
        <ul>
            <li><a href="Company.aspx">
                <%=GetLangString("MenuCompany")%></a></li>
            <li><a href="News.aspx">
                <%=GetLangString("MenuCompanyInfo")%></a></li>
            <li><a href="Culture.aspx">
                <%=GetLangString("MenuCompanCulture")%></a></li>
        </ul>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="body" runat="server">
    <form runat="server">
    <div class="company_news common_border">
        <ul class="common_page">
             <%= GetLangString("Currentposition") %>：<a href="Index.aspx"><%=GetLangString("MenuHome")%></a>/<a href="Company.aspx"><%=GetLangString("MenuCompany")%></a>/<a
                href="News.aspx"><%=GetLangString("MenuCompanyInfo")%></a>
        </ul>
        <div class="company_news_box">
            <asp:Literal ID="LstNewsControl" runat="server"></asp:Literal>
        </div>
        <table cellpadding="0" cellspacing="0" align="center" width="99%" class="border">
            <tr>
                <td align="left" colspan="2">
                    <ux:AspNetPager ID="AspNetPager1" CssClass="paginator" CurrentPageButtonClass="cpb"
                        runat="server" FirstPageText="首页" LastPageText="尾页" NextPageText="下一页" PageSize="10"
                        PrevPageText="上一页" OnPageChanged="AspNetPager1_PageChanged" ShowCustomInfoSection="Left"
                        ShowNavigationToolTip="true" CustomInfoTextAlign="Left" LayoutType="Table" CustomInfoHTML="" CustomInfoSectionWidth="">
                    </ux:AspNetPager>
                </td>
            </tr>
        </table>
    </div>
    </form>
</asp:Content>
